package com.atguigu.gmall.product;

import com.atguigu.gmall.common.config.Swagger2Config;
import com.atguigu.gmall.common.config.minio.annotation.EnableMinio;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/11/29 10:11
 * @Version 1.0
 */
//@EnableCircuitBreaker
//@EnableDiscoveryClient
//@SpringBootApplication
@Import(Swagger2Config.class)
@EnableMinio
@EnableAspectJAutoProxy
@MapperScan(basePackages = "com.atguigu.gmall.product.mapper")
@SpringCloudApplication
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.search")
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class,args);
    }
}
